package com.lagou.dao;

import com.lagou.pojo.LagouUser;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LagouUserDao extends JpaRepository<LagouUser,Long> {
    LagouUser findByEmail(String email);

    LagouUser findByEmailAndPassword(String email, String password);
}
